<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="css/common.css" type="text/css" />

<link href="css/adminstyle.css" rel="stylesheet" type="text/css">

<title>管理区域</title>

<script src="js/js.js"></script>
<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
<script  language="javascript" type="text/javascript" src="js/jquery-1.9.1.min.js"></script>

<script>

function delc(id){

	if(confirm('确认要删除此栏目，将删除所属子栏目及信息'))	{

		self.location.href='user_delete.html?id='+id;

	}

}

function submits1(value){

	var check_flg = false;

	$("input:checkbox[name='id[]']:checked").each(function(){

            check_flg = true; 

    })

    if(check_flg==true){

		document.getElementById('form').action=value;

		document.getElementById('form').submit();

	}else{

		alert('请选中相应的人员进行操作');        	

    }
}



function openTab(url,height,width){

	window.open (url,'newwindow','height='+height+',width='+width+',top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no'); 

}



function submits2(value){

	document.getElementById('form').action=value;

	document.getElementById('form').submit();

}</script>

</head>



<body>
<div id="man_zone">
<??>

<div style="background-color:#FFFFFF ">

<div class="search_condition">

<div style="margin-top:10px;margin-bottom:10px;">

<form method="get">

&nbsp;&nbsp;&nbsp;关键字 <input name="key_word" type="text" value="<?=getParamValue('key_word')?>" />
&nbsp;加入时间
<input name="start_time" type="text" onClick="WdatePicker()" value="<?=getParamValue('start_time')?>" />
-
<input onClick="WdatePicker()" name="end_time" type="text"  value="<?=getParamValue('end_time')?>" />
状态
<select name="status" >
 	   <option value="">请选择</option>
      <?=page_modifier_options($page_fund_status_option,getParamValue('status'))?>
</select>
&nbsp;&nbsp;&nbsp;
<input value="搜索" class="PublicBot" name="" type="submit" />

&nbsp;&nbsp;&nbsp;

<input class="PublicBot" name="" type="button" onclick="window.location.href='funduser_add.html'" value="添加" />

</form>

</div>

</div>



<form method="get" id="form" action="user_delete.html">

  <table width="98%" border="0" align="center"  cellpadding="3" cellspacing="1" class="tableborder">

    <tr class="header">

    <td width="2%"></td>

      <td width="8%">用户名</td>
      <td width="8%">编号</td>
      <td width="8%">Email</td>
      <td width="8%">电话</td>
      <td width="8%">QQ</td>
      <td width="8%">用户等级</td>
      <td width="8%">用户状态</td>
      <td width="8%">加入时间</td>
	   <td width="8%">备注</td>
      <td align="center" width="18%">编辑</td>
    </tr>

    <?

    foreach($list as $v){

	?>

    <tr bgcolor="#FFFFFF">

          <td align="center"><input type="checkbox" name="id[]" id="checkbox" value="<?=$v['id']?>"></td>
      <td align="center"><?=$v['name']?></td>

      <td align="center"><?=$v['serial_number']?></td>

      <td align="center"><?=$v['email']?></td>

      <td align="center"><?=$v['phone']?></td>

      <td align="center"><?=$v['qq']?></td>

      <td align="center"><?=$v['fund_user_rank_name']?></td>

      <td align="center"><?=$v['fund_status_name']?>
      </td>

      <td align="center"><?=date('Y-m-d H:i:s',$v['add_time'])?></td>

      <td align="center"><?if($v['content']!="")
      	{ ?><a href="javaScript:void(0);" onClick="javaScript:openTab('funduser_detailInfo.html?id=<?=$v['id']?>','400','600');">查看</a><?}?>
      </td>
      <td align="center">
	      <a href="funduser_add.html?id=<?=$v['id']?>">修改</a>
	      <a href="funduser_userFindLists.html?id=<?=$v['id']?>">找人</a>
	      <a href="funduser_userLists.html?id=<?=$v['id']?>">邀请的学生</a>
	      <a href="funduser_userInviteLists.html?id=<?=$v['id']?>">推荐的人</a>
	      <a href="funduser_userLinkLists.html?id=<?=$v['id']?>">邀请链接</a>
      </td>

    </tr>

    <?

	}

	?>

 <tr bgcolor="#FFFFFF">

 <td align="center"><input type="checkbox" name="chkall" id="checkbox"  onClick="CheckAll(this.form)"></td>

 <td colspan="12">
<input type="button" class="PublicBot" name="delete"  style="display: none" id="button" value="批量删除" onClick="submits1('user_delete.html')"> &nbsp;&nbsp;&nbsp;<?  echo $page; ?>

 </td>

 </tr>

  </table>

 </form>
</div>
</div>
</body>
</html>

